import request from '@/utils/request'

// 查询我的项目列表
export function listMyCurriculumVitaeWorkProject(query) {
  return request({
    url: '/system/myCurriculumVitaeWorkProject/list',
    method: 'get',
    params: query
  })
}

// 查询我的项目详细
export function getMyCurriculumVitaeWorkProject(id) {
  return request({
    url: '/system/myCurriculumVitaeWorkProject/' + id,
    method: 'get'
  })
}

// 新增我的项目
export function addMyCurriculumVitaeWorkProject(data) {
  return request({
    url: '/system/myCurriculumVitaeWorkProject',
    method: 'post',
    data: data
  })
}

// 修改我的项目
export function updateMyCurriculumVitaeWorkProject(data) {
  return request({
    url: '/system/myCurriculumVitaeWorkProject',
    method: 'put',
    data: data
  })
}

// 删除我的项目
export function delMyCurriculumVitaeWorkProject(id) {
  return request({
    url: '/system/myCurriculumVitaeWorkProject/' + id,
    method: 'delete'
  })
}
